#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Created by Fireln on 2018/4/26

from django import forms
from .models import Post


class PostForm(forms.ModelForm):
    class Meta:
        model = Post
        fields = ['title', 'body', 'url', 'text']
